//
//  UIImage+Placeholder.m
//  ZhiliaoWorkshop
//
//  Created by 宋帛衡 on 14-1-16.
//  Copyright (c) 2014年 微琦文化. All rights reserved.
//

#import "UIImage+MUSColorImage.h"


@implementation UIImage (LLPlaceholder)

+ (UIImage *)ll_genericPlaceholderImage
{
    static UIImage *image;
    if (!image) {
        image = [UIImage mus_imageWithColor:RGB(51, 51, 51)];
    }
    return image;
}

+ (UIImage *)ll_avatarPlaceholderImage
{
    static UIImage *image;
    if (!image) {
        image = [LLAssetsCatalog llProfilePhotoPlaceholder];
    }
    return image;
}

+ (UIImage *)ll_genericBackgroundImageWithHexColor:(NSString *)hexColor
{
    return [UIImage mus_imageWithColor:ColorFromHEX(hexColor)];
}

+ (UIImage *)ll_officialChannelPlaceholderImage
{
    static UIImage *image;
    if (!image) {
        image = [LLAssetsCatalog llChannelTvPlaceholder];
    }
    return image;
}

@end
